package com.lanou.controller;

import com.lanou.service.PaymentBillService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName PaymentBillController
 * @Description: TODO
 * @Author 郅占伟
 * @Date 2023年10月25日
 * @Version: 1.0
 */
@Api(value = "业主信息",tags = "业主信息")
@RestController
public class PaymentBillController {

    @Autowired
    private PaymentBillService paymentBillService;

    @ApiOperation(value = "获取代缴费信息和历史缴费信息",httpMethod = "GET")
    @RequestMapping(value = "/getPaymentBillInfo",produces = "text/html;charset=UTF-8")
    public String getPaymentBillInfo(String pageNum, String pageSize, String userName, String status) {
        return paymentBillService.getPaymentBillInfoByResourceName(pageNum, pageSize, userName, status);
    }

}
